import org.openjdk.jol.info.ClassLayout;

/**
 * @author 龙小虬
 * @date 2021/4/22 11:24
 */
public class Main2 {

    @sun.misc.Contended
    public final static class VolatileLong {
        public volatile long value = 0L;
//        public volatile long p1,p2,p3,p4,p5;
    }

    public static void main(String[] args) {
        VolatileLong volatileLong = new VolatileLong();
        System.out.println(ClassLayout.parseInstance(volatileLong).toPrintable());
    }
}
